﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using yncTech.Common;
using System.Collections;
using yncTech.BusinessObjects;
using EntitySpaces.Interfaces;

public partial class Admin_Sys_Dic_Dic_ThirdUnit : AdminBasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
       
    }

    protected void PageChanged(object sender, DataGridPageChangedEventArgs e)
    {

        BFThirdUnitQuery q1 = new BFThirdUnitQuery("q1");
        TSCodeTableQuery q2 = new TSCodeTableQuery("q2");
        q1.Select(q1,q2.CodeDesc).InnerJoin(q2).On(q1.ThirdType==q2.Code);
        //BFThirdUnitCollection units = new BFThirdUnitCollection();
        //units.LoadAll();
        pageGrid.DataSource = q1.LoadDataTable();
        pageGrid.CurrentPage = e.NewPageIndex;
        pageGrid.DataBind();
    }
    protected void Delete_Bf(object sender, CommandEventArgs e)
    {      
    }

}